org.utgenome
Class UTGBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.utgenome.UTGBException
All Implemented Interfaces:
Serializable

public class UTGBException
extends Exception

A UTGBException is a base class for all exception classes in the org.utgb packages

Author:
leo
See Also:
Serialized Form

Constructor Summary
UTGBException(String message)
           
UTGBException(String message, Throwable cause)
           
UTGBException(Throwable cause)
           
UTGBException(UTGBErrorCode errorCode)
           
UTGBException(UTGBErrorCode errorCode, String message)
           
UTGBException(UTGBErrorCode errorCode, String message, Throwable cause)
           
UTGBException(UTGBErrorCode errorCode, Throwable cause)
           
 
Method Summary
static UTGBException convert(Exception e)
           
 UTGBErrorCode getErrorCode()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UTGBException

public UTGBException(String message)

UTGBException

public UTGBException(Throwable cause)

UTGBException

public UTGBException(String message,
                     Throwable cause)

UTGBException

public UTGBException(UTGBErrorCode errorCode)

UTGBException

public UTGBException(UTGBErrorCode errorCode,
                     Throwable cause)

UTGBException

public UTGBException(UTGBErrorCode errorCode,
                     String message,
                     Throwable cause)

UTGBException

public UTGBException(UTGBErrorCode errorCode,
                     String message)
Method Detail

getErrorCode

public UTGBErrorCode getErrorCode()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

convert

public static UTGBException convert(Exception e)


Copyright © 2007-2012 utgenome.org. All Rights Reserved.