KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > lang > Exception

java.lang
Class Exception

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AclNotFoundException, ActivationException, AlreadyBoundException, ApplicationException, AWTException, BackingStoreException, BadAttributeValueExpException, BadBinaryOpValueExpException, BadLocationException, BadStringOperationException, BrokenBarrierException, CertificateException, ClassNotFoundException, CloneNotSupportedException, DataFormatException, DatatypeConfigurationException, DestroyFailedException, ExecutionException, ExpandVetoException, FontFormatException, GeneralSecurityException, GSSException, IllegalAccessException, IllegalClassFormatException, InstantiationException, InterruptedException, IntrospectionException, InvalidApplicationException, InvalidMidiDataException, InvalidPreferencesFormatException, InvalidTargetObjectTypeException, InvocationTargetException, IOException, JMException, LastOwnerException, LineUnavailableException, MidiUnavailableException, MimeTypeParseException, NamingException, NoninvertibleTransformException, NoSuchFieldException, NoSuchMethodException, NotBoundException, NotOwnerException, ParseException, ParserConfigurationException, PrinterException, PrintException, PrivilegedActionException, PropertyVetoException, RefreshFailedException, RemarshalException, RuntimeException, SAXException, ServerNotActiveException, SQLException, TimeoutException, TooManyListenersException, TransformerException, UnmodifiableClassException, UnsupportedAudioFileException, UnsupportedCallbackException, UnsupportedFlavorException, UnsupportedLookAndFeelException, URISyntaxException, UserException, XAException, XMLParseException, XPathException
See Also:
Top Examples, Source Code, Error

public Exception()
See Also:
Throwable.initCause(java.lang.Throwable)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[8]Chained exception
By Anonymous on 2005/02/28 09:57:56  Rate
class TestEx extends Exception {  
   public TestEx (  )   {  
    } //end constructor 
  
  
   public TestEx ( String message )  {  
     super ( message ) ; 
    } //end constructor 
  
  
   //New in JDK1.4 
   public TestEx ( Throwable throwable )  {  
     super ( throwable ) ; 
    } //end constructor 
  
  
   //New in JDK1.4  
   public TestEx ( String message, Throwable throwable )  {  
     super ( message, throwable ) ; 
    } //end constructor 
  } //end TestEx 
 


public Exception(String message)
See Also:
Throwable.getMessage(), Throwable.initCause(java.lang.Throwable)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Exception(String message,
                 Throwable cause)
See Also:
Throwable.getCause(), Throwable.getMessage()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Exception(Throwable cause)
See Also:
Throwable.getCause(), PrivilegedActionException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags