gr.uoa.di.madgik.grs.record.exception.test
Class MyCustomException

java.lang.Object
  extended by java.lang.Throwable
      extended by gr.uoa.di.madgik.grs.record.exception.test.MyCustomException
All Implemented Interfaces:
Serializable

public class MyCustomException
extends Throwable

See Also:
Serialized Form

Nested Class Summary
static class MyCustomException.InnerException
           
 
Constructor Summary
MyCustomException()
          Create a new instance
MyCustomException(String message)
          Create a new instance
MyCustomException(String message, Throwable cause)
          Create a new instance
MyCustomException(Throwable cause)
           
 
Method Summary
 
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

MyCustomException

public MyCustomException()
Create a new instance


MyCustomException

public MyCustomException(String message)
Create a new instance

Parameters:
message - the error message

MyCustomException

public MyCustomException(String message,
                         Throwable cause)
Create a new instance

Parameters:
message - the error message
cause - the cause of the error

MyCustomException

public MyCustomException(Throwable cause)


Copyright © 2012. All Rights Reserved.