Linkable.API
Class SurrogateException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--Linkable.API.SurrogateException
All Implemented Interfaces:
java.io.Serializable

public class SurrogateException
extends java.lang.Exception

This class represents an exception thrown by the Surrogate if there problems with any of its methods, or if an internal error occurred that needs to be diagnosed.

See Also:
Serialized Form

Field Summary
private  java.lang.String message
           
private  java.lang.String type
           
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
SurrogateException()
           
SurrogateException(java.lang.String s)
          Constructor
 
Method Summary
static java.lang.String setInternal(java.lang.String s)
          setInternal converts an error message into an internal system error message
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

message

private java.lang.String message

type

private java.lang.String type
Constructor Detail

SurrogateException

public SurrogateException()

SurrogateException

public SurrogateException(java.lang.String s)
Constructor
Parameters:
s - is a string explaining the reason for the exception
Method Detail

setInternal

public static java.lang.String setInternal(java.lang.String s)
setInternal converts an error message into an internal system error message
Parameters:
s - is a string explaining the reason for the exception