Package com.spotfire.ws.pub
Class LibraryServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.spotfire.ws.pub.LibraryServiceException
-
- All Implemented Interfaces:
java.io.Serializable
@WebFault(faultBean="com.spotfire.ws.pub.FaultInfo", targetNamespace="http://spotfire.tibco.com/ws/pub/2013/03/faults.xsd") public class LibraryServiceException extends java.lang.Exception
Exception thrown by the LibraryService.Error codes that may be returned:
- Client.NoSuchPrincipal - No library item with the given name or ID exist
- Client.PrincipalAlreadyExists - A library item with the specified name already exists in the same location, may be returned when creating or renaming a library item
- Client.InvalidArgument - One of the arguments is invalid
- Client.InvalidSearchExpression - The given search expression is invalid
- Client.Unauthorized - The caller doesn't have sufficient privileges for the action
- Server.InternalError - An internal server error (for example a database connection error) occurred
- Server.TransientError - An internal server error that is likely to be transient occurred, the request may be retried
- Since:
- 5.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LibraryServiceException(java.lang.String message, FaultInfo faultInfo)
Creates a new instance.LibraryServiceException(java.lang.String message, FaultInfo faultInfo, java.lang.Throwable cause)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FaultInfo
getFaultInfo()
Returns a bean that contains additional information about the exception.
-
-
-
Constructor Detail
-
LibraryServiceException
public LibraryServiceException(java.lang.String message, FaultInfo faultInfo)
Creates a new instance.- Parameters:
message
- a detail messagefaultInfo
- the fault info
-
LibraryServiceException
public LibraryServiceException(java.lang.String message, FaultInfo faultInfo, java.lang.Throwable cause)
Creates a new instance.- Parameters:
message
- a detail messagefaultInfo
- the fault infocause
- the cause
-
-
Method Detail
-
getFaultInfo
public FaultInfo getFaultInfo()
Returns a bean that contains additional information about the exception.- Returns:
- a bean that contains additional information about the exception.
-
-