|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.brightcove.proserve.mediaapi.wrapper.exceptions.BrightcoveException
public class BrightcoveException
All calls to the Media API Wrapper can throw a BrightcoveException. Most should throw a subclassed version with specific information (e.g. a wrapper-specific exception will throw a WrapperException).
Constructor Summary | |
---|---|
BrightcoveException()
Creates a generic exception with type UNKNOWN_TYPE. |
|
BrightcoveException(java.lang.Exception e)
Creates an exception of type JAVA_EXCEPTION. |
|
BrightcoveException(java.lang.String message)
Creates an exception of type JAVA_EXCEPTION. |
Method Summary | |
---|---|
ExceptionType |
getType()
Gets the type of exception. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BrightcoveException()
Creates a generic exception with type UNKNOWN_TYPE.
public BrightcoveException(java.lang.String message)
Creates an exception of type JAVA_EXCEPTION. This will operate the same as a java.lang.Exception.
message
- Exception messagepublic BrightcoveException(java.lang.Exception e)
Creates an exception of type JAVA_EXCEPTION. This will operate the same as a java.lang.Exception.
e
- java.lang.Exception to replicateMethod Detail |
---|
public ExceptionType getType()
Gets the type of exception. Different methods may be available depending on the type of exception thrown.
public java.lang.String toString()
toString
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |