API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang. Exception View Source
Author(s)
Frank Yellin
Since
JDK1.0
Version
1.32, 11/17/05
Serial
Hierarchy
 Object
      Throwable
          Exception
Implements
Subclasses
 AclNotFoundException
 ActivationException
 AlreadyBoundException
 ApplicationException
 AWTException
 BackingStoreException
 BadAttributeValueExpException
 BadBinaryOpValueExpException
 BadLocationException
 BadStringOperationException
 BrokenBarrierException
 CardException
 ClassNotFoundException
 CloneNotSupportedException
 DataFormatException
 DatatypeConfigurationException
 DatatypeException
 DestroyFailedException
 ExecutionException
 ExpandVetoException
 FontFormatException
 GeneralSecurityException
 GSSException
 IllegalAccessException
 IllegalClassFormatException
 InstantiationException
 InterruptedException
 IntrospectionException
 InvalidApplicationException
 InvalidMidiDataException
 InvalidPreferencesFormatException
 InvalidTargetObjectTypeException
 InvocationTargetException
 IOException
 JAXBException
 JMException
 KeySelectorException
 LastOwnerException
 LineUnavailableException
 MarshalException
 MidiUnavailableException
 MimeTypeParseException
 MimeTypeParseException
 NamingException
 NoninvertibleTransformException
 NoSuchFieldException
 NoSuchMethodException
 NotBoundException
 NotOwnerException
 ParseException
 ParserConfigurationException
 PrinterException
 PrintException
 PrivilegedActionException
 PropertyVetoException
 RefreshFailedException
 RemarshalException
 RuntimeException
 SAXException
 ScriptException
 ServerNotActiveException
 SOAPException
 SQLException
 TimeoutException
 TooManyListenersException
 TransformerException
 TransformException
 UnmodifiableClassException
 UnsupportedAudioFileException
 UnsupportedCallbackException
 UnsupportedFlavorException
 UnsupportedLookAndFeelException
 URIReferenceException
 URISyntaxException
 UserException
 XAException
 XMLParseException
 XMLSignatureException
 XMLStreamException
 XPathException
Description
public exception Exception
  The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.
See also:    Error
Constructors
public Exception ()
  Constructs a new exception with null as its detail message.
public Exception (String message)
  Constructs a new exception with the specified detail message.
public Exception (String message, Throwable cause)
  Constructs a new exception with the specified detail message and cause.
public Exception (Throwable cause)
  Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
Methods
Hide/Show inherited methods
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
public Throwable getCause () [Inherited From Throwable]
  Returns the cause of this throwable or null if the cause is nonexistent or unknown.
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public String getMessage () [Inherited From Throwable]
  Returns the detail message string of this throwable.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
publicsynchronized Throwable initCause (Throwable cause) [Inherited From Throwable]
  Initializes the cause of this throwable to the specified value.
public void printStackTrace () [Inherited From Throwable]
  Prints this throwable and its backtrace to the standard error stream.
public void printStackTrace (PrintStream s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print stream.
public void printStackTrace (PrintWriter s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print writer.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public String toString () [Inherited From Throwable]
  Returns a short description of this throwable.
Fields
Hide/Show inherited fields
pack-privatefinalstatic long serialVersionUID = "-3387516993124229948"
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar