Class ErrorReport

java.lang.Object
com.chemaxon.calculations.stereoanal.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 Details

    • ErrorReport

      public ErrorReport(AtomSelection selection, String message, 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 Details

    • 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 Optional<? extends StereoCenter> getStereoCenter()
      Returns an optional of stereo centers.
      Returns:
      an optional class
    • toString

      public String toString()
      Overrides:
      toString in class Object