org.openanzo.jastor
Class InvalidLiteralException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openanzo.jastor.JastorException
                  extended by org.openanzo.jastor.InvalidLiteralException
All Implemented Interfaces:
java.io.Serializable

public class InvalidLiteralException
extends JastorException

Exception caused by problem with Literal value

Author:
Joe Betz, Ben Szekely (bhszekel@us.ibm.com)
See Also:
Serialized Form

Constructor Summary
InvalidLiteralException(java.lang.Exception e, int errorCode, java.lang.String errorDescription, org.openrdf.model.Literal object)
          Create invalid Literal exception
InvalidLiteralException(java.lang.Exception e, java.lang.String errorDescription, org.openrdf.model.Literal object)
          Create invalid Literal exception
InvalidLiteralException(int errorCode, java.lang.String errorDescription, org.openrdf.model.Literal object)
          Create invalid Literal exception
InvalidLiteralException(org.openrdf.model.Literal object)
          Create invalid Literal exception
InvalidLiteralException(java.lang.String errorDescription, org.openrdf.model.Literal object)
          Create invalid Literal exception
 
Method Summary
 org.openrdf.model.Literal getLiteral()
          Get the Literal object that caused error
 
Methods inherited from class org.openanzo.jastor.JastorException
getErrorDescription, getMessage, getOriginalException, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidLiteralException

public InvalidLiteralException(java.lang.Exception e,
                               int errorCode,
                               java.lang.String errorDescription,
                               org.openrdf.model.Literal object)
Create invalid Literal exception

Parameters:
e - Root cause of exception
errorCode - Major error code for exception
errorDescription - Description of error
object - Literal object that caused error

InvalidLiteralException

public InvalidLiteralException(int errorCode,
                               java.lang.String errorDescription,
                               org.openrdf.model.Literal object)
Create invalid Literal exception

Parameters:
errorCode - Major error code for exception
errorDescription - Description of error
object - Literal object that caused error

InvalidLiteralException

public InvalidLiteralException(java.lang.Exception e,
                               java.lang.String errorDescription,
                               org.openrdf.model.Literal object)
Create invalid Literal exception

Parameters:
e - Root cause of exception
errorDescription - Description of error
object - Literal object that caused error

InvalidLiteralException

public InvalidLiteralException(java.lang.String errorDescription,
                               org.openrdf.model.Literal object)
Create invalid Literal exception

Parameters:
errorDescription - Description of error
object - Literal object that caused error

InvalidLiteralException

public InvalidLiteralException(org.openrdf.model.Literal object)
Create invalid Literal exception

Parameters:
object - Literal object that caused error
Method Detail

getLiteral

public org.openrdf.model.Literal getLiteral()
Get the Literal object that caused error

Returns:
Literal object that caused error


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.