org.jmol.smiles
Class InvalidSmilesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jmol.smiles.InvalidSmilesException
All Implemented Interfaces:
java.io.Serializable

public class InvalidSmilesException
extends java.lang.Exception

Exception thrown for invalid SMILES String

See Also:
Serialized Form

Field Summary
private static java.lang.String lastError
           
 
Constructor Summary
InvalidSmilesException()
          Constructs a InvalideSmilesException without any detail.
InvalidSmilesException(java.lang.String message)
          Constructs a InvalidSmilesException with a detail message.
InvalidSmilesException(java.lang.String message, java.lang.Throwable cause)
          Construcst a InvalidSmilesException with the specified detail message and cause.
InvalidSmilesException(java.lang.Throwable cause)
          Contructs a InvalidSmilesException with the specified cause and a detail message of (cause == null ? null : cause.toString()) (which typically contains the class and detail message of cause).
 
Method Summary
static java.lang.String getLastError()
           
static void setLastError(java.lang.String message)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lastError

private static java.lang.String lastError
Constructor Detail

InvalidSmilesException

public InvalidSmilesException()
Constructs a InvalideSmilesException without any detail.


InvalidSmilesException

public InvalidSmilesException(java.lang.String message)
Constructs a InvalidSmilesException with a detail message.

Parameters:
message - The detail message.

InvalidSmilesException

public InvalidSmilesException(java.lang.Throwable cause)
Contructs a InvalidSmilesException with the specified cause and a detail message of (cause == null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters:
cause - The cause.

InvalidSmilesException

public InvalidSmilesException(java.lang.String message,
                              java.lang.Throwable cause)
Construcst a InvalidSmilesException with the specified detail message and cause.

Parameters:
message - The detail message.
cause - The cause.
Method Detail

getLastError

public static java.lang.String getLastError()

setLastError

public static void setLastError(java.lang.String message)