System
Class NotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
System.SystemException
System.NotSupportedException
- All Implemented Interfaces:
- java.io.Serializable
public class NotSupportedException
- extends SystemException
The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked
functionality.
- Author:
- Halofreak1990
- See Also:
- Serialized Form
Constructor Summary |
NotSupportedException()
|
NotSupportedException(java.lang.String message)
Initializes a new instance of the NotSupportedException class with a specified error message. |
NotSupportedException(java.lang.String message,
java.lang.RuntimeException innerException)
Initializes a new instance of the NotSupportedException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
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 |
NotSupportedException
public NotSupportedException()
NotSupportedException
public NotSupportedException(java.lang.String message)
- Initializes a new instance of the NotSupportedException class with a specified error message.
- Parameters:
message
- A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has
been localized for the current system culture.
NotSupportedException
public NotSupportedException(java.lang.String message,
java.lang.RuntimeException innerException)
- Initializes a new instance of the NotSupportedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
- Parameters:
message
- The error message that explains the reason for the exception.innerException
- The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that
handles the inner exception.