Package net.sf.okapi.common.exceptions
Class OkapiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.okapi.common.exceptions.OkapiException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AzureAuthenticationException,GoogleMTErrorException,OkapiBadFilterInputException,OkapiBadFilterParametersException,OkapiBadStepInputException,OkapiEditorCreationException,OkapiFileNotFoundException,OkapiFilterCreationException,OkapiIllegalFilterOperationException,OkapiIOException,OkapiMergeException,OkapiMisAlignmentException,OkapiNotImplementedException,OkapiUnexpectedResourceTypeException,OkapiUnsupportedEncodingException,OkapiUserCanceledException
public class OkapiException extends RuntimeException
Base exception for all Okapi exceptions- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OkapiException()Creates an empty new OkapiIOException object.OkapiException(String message)Creates a new OkapiIOException object with a given message.OkapiException(String message, Throwable cause)Creates a new OkapiIOException object with a given message and a given parent exception cause.OkapiException(Throwable cause)Creates a new OkapiIOException object with a given parent exception cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OkapiException
public OkapiException()
Creates an empty new OkapiIOException object.
-
OkapiException
public OkapiException(String message)
Creates a new OkapiIOException object with a given message.- Parameters:
message- text of the message.
-
OkapiException
public OkapiException(Throwable cause)
Creates a new OkapiIOException object with a given parent exception cause.- Parameters:
cause- the parent exception cause.
-
-