org.equanda.persistence
Class InvalidUoidException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.equanda.persistence.InvalidUoidException
All Implemented Interfaces:
Serializable

public class InvalidUoidException
extends RuntimeException

Exception which is thrown when trying to create an invalid Uoid. This can for example happen when a Uoid is built from a string with invalid length or invalid characters.

Author:
Joachim Van der Auwera
See Also:
Serialized Form

Constructor Summary
InvalidUoidException(String faultyUoid)
           
InvalidUoidException(Throwable throwable, String faultyUoid)
           
 
Method Summary
 String getMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidUoidException

public InvalidUoidException(String faultyUoid)

InvalidUoidException

public InvalidUoidException(Throwable throwable,
                            String faultyUoid)
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2007-2009. All Rights Reserved.