Class ErrorReport


  • @Beta
    @PublicAPI
    public class ErrorReport
    extends Object
    Error reporting class.

    Please note that this class is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.

    Since:
    Marvin 6.2
    • Constructor Detail

      • ErrorReport

        public ErrorReport​(AtomSelection selection,
                           String message,
                           com.google.common.base.Optional<? extends StereoCenter> stereoCenter)
        Constructs new error report.
        Parameters:
        selection - atom selection
        message - error message
        stereoCenter - stereo center
      • ErrorReport

        public ErrorReport​(AtomSelection selection,
                           String message)
        Constructs new error report.
        Parameters:
        selection - atom selection.
        message - error message
    • Method Detail

      • getSelection

        public AtomSelection getSelection()
        Returns the selection of atoms.
        Returns:
        an AtomSelection object
      • getMessage

        public String getMessage()
        Returns an error message.
        Returns:
        error message
      • getStereoCenter

        public com.google.common.base.Optional<? extends StereoCenter> getStereoCenter()
        Returns an optional of stereo centers.
        Returns:
        an optional class