com.iphrase.runtime.exception
Class GeneralError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.iphrase.runtime.exception.GeneralError
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ArgumentError, WebServiceError

public class GeneralError
extends java.lang.Exception

General exception used as a base class for all other exceptions thrown by Runtime API.

See Also:
Serialized Form

Constructor Summary
GeneralError(java.lang.String s)
          Construct a WebServiceError exception from a detail message.
 
Method Summary
 java.lang.Throwable getCause()
          Returns cause exception
 void setCause(java.lang.Throwable cause)
          Sets the cause of this LayoutsException to the specified value.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeneralError

public GeneralError(java.lang.String s)
Construct a WebServiceError exception from a detail message.
Parameters:
s - String detail message
Method Detail

setCause

public void setCause(java.lang.Throwable cause)
Sets the cause of this LayoutsException to the specified value.
Parameters:
cause - a Throwable caused this LayoutsException
See Also:
getCause()

getCause

public java.lang.Throwable getCause()
Returns cause exception

© Copyright 2005, 2006. IBM Corporation. All rights reserved.