Package com.avoka.component.sharepoint
Class SPException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.avoka.component.sharepoint.SPException
-
- All Implemented Interfaces:
Serializable
public class SPException extends Exception
Provides a SharePoint exception for SOAP fault messages generated on the SharePoint server.- Since:
- 3.5.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SPException(String message)
Create a critical SharePoint exception with the given message.SPException(String message, String context)
Create a critical SharePoint exception with the given message and context.SPException(String message, Throwable cause)
Create a critical SharePoint exception with the given message and cause.SPException(String message, Throwable cause, String context)
Create a SharePoint exception with the given message, cause and error context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContext()
Return the error context.String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
SPException
public SPException(String message)
Create a critical SharePoint exception with the given message.- Parameters:
message
- the error message
-
SPException
public SPException(String message, String context)
Create a critical SharePoint exception with the given message and context.- Parameters:
message
- the error messagecontext
- the error context
-
SPException
public SPException(String message, Throwable cause)
Create a critical SharePoint exception with the given message and cause.- Parameters:
message
- the error messagecause
- the cause of the error
-
-