com.fatwire.gst.foundation
Class CSRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.fatwire.gst.foundation.CSRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TagRunnerRuntimeException

public class CSRuntimeException
extends RuntimeException

Generic Content Server exception that knows about errno.

Since:
10-Jun-2008
Author:
Dolf Dijkstra, Tony Field
See Also:
Serialized Form

Constructor Summary
CSRuntimeException(String msg, COM.FutureTense.Util.ftErrors complexError, int errno)
           
CSRuntimeException(String msg, int errno)
           
CSRuntimeException(String msg, int errno, Throwable cause)
           
 
Method Summary
 COM.FutureTense.Util.ftErrors getComplexError()
           
 int getErrno()
           
 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

CSRuntimeException

public CSRuntimeException(String msg,
                          int errno)
Parameters:
msg - the message
errno - the Content Server errno

CSRuntimeException

public CSRuntimeException(String msg,
                          int errno,
                          Throwable cause)
Parameters:
msg - the message
errno - the Content Server errno
cause - the Throwable as a cause

CSRuntimeException

public CSRuntimeException(String msg,
                          COM.FutureTense.Util.ftErrors complexError,
                          int errno)
Parameters:
msg - the message
complexError - the complex error
errno - the Content Server errno
Method Detail

getErrno

public final int getErrno()
Returns:
the Content Server errno

getComplexError

public final COM.FutureTense.Util.ftErrors getComplexError()
Returns:
the complex error, or null if it was not set.

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.