org.netbeans.api.autoupdate
Class OperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.netbeans.api.autoupdate.OperationException
- All Implemented Interfaces:
- Serializable
public final class OperationException
- extends Exception
Thrown to indicate that operation failed
- See Also:
OperationSupport,
InstallSupport,
Serialized Form
OperationException
public OperationException(OperationException.ERROR_TYPE error)
- Constructs an
OperationException
- Parameters:
error - the definition of failure
OperationException
public OperationException(OperationException.ERROR_TYPE error,
Exception x)
- Constructs an
OperationException
- Parameters:
error - the definition of failurex - the cause (x.getLocalizedMessage is saved for later retrieval by the
getLocalizedMessage() method)
OperationException
public OperationException(OperationException.ERROR_TYPE error,
String message)
- Constructs an
OperationException
- Parameters:
error - the definition of failuremessage - (is saved for later retrieval by the
getLocalizedMessage() method)
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage in class Throwable
getErrorType
public OperationException.ERROR_TYPE getErrorType()
- Returns:
- the definition of failure