gr.uoa.di.madgik.execution.exception
Class ExecutionRunTimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gr.uoa.di.madgik.execution.exception.ExecutionException
              extended by gr.uoa.di.madgik.execution.exception.ExecutionRunTimeException
All Implemented Interfaces:
Serializable

public class ExecutionRunTimeException
extends ExecutionException

Run time exception. The exception can also hold information on the exception that was originally thrown and caused the run time exception to be thrown. Since the cause of the error will need to be reachable even after the exception is marshaled and unmarshaled in a remote location where the actual type of exception is not available, the external cause is stored using its class name

Author:
gpapanikos
See Also:
Serialized Form

Constructor Summary
ExecutionRunTimeException()
          Instantiates a new execution run time exception.
ExecutionRunTimeException(String message)
          Instantiates a new execution run time exception.
ExecutionRunTimeException(String message, Throwable cause)
          Instantiates a new execution run time exception.
 
Method Summary
 String GetCauseFullName()
          Gets the cause full name.
 String GetCauseSimpleName()
          Gets the cause simple name.
 void SetCause(Exception ex)
          Sets the cause.
 void SetCause(Throwable ex)
          Sets the cause.
 void SetCauseFullName(String Cause)
          Sets the cause full name.
 void SetCauseSimpleName(String Cause)
          Sets the cause simple name.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

ExecutionRunTimeException

public ExecutionRunTimeException()
Instantiates a new execution run time exception.


ExecutionRunTimeException

public ExecutionRunTimeException(String message)
Instantiates a new execution run time exception.

Parameters:
message - the message

ExecutionRunTimeException

public ExecutionRunTimeException(String message,
                                 Throwable cause)
Instantiates a new execution run time exception.

Parameters:
message - the message
cause - the cause
Method Detail

SetCause

public void SetCause(Exception ex)
Sets the cause.

Parameters:
ex - the cause

SetCause

public void SetCause(Throwable ex)
Sets the cause.

Parameters:
ex - the cause

SetCauseFullName

public void SetCauseFullName(String Cause)
Sets the cause full name.

Parameters:
Cause - the cause

SetCauseSimpleName

public void SetCauseSimpleName(String Cause)
Sets the cause simple name.

Parameters:
Cause - the cause

GetCauseFullName

public String GetCauseFullName()
Gets the cause full name.

Returns:
the string

GetCauseSimpleName

public String GetCauseSimpleName()
Gets the cause simple name.

Returns:
the string


Copyright © 2013. All Rights Reserved.