Package org.zaproxy.zap.extension.api
Class ApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.zaproxy.zap.extension.api.ApiException
-
- All Implemented Interfaces:
java.io.Serializable
public class ApiException extends java.lang.Exception
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApiException.Type
-
Constructor Summary
Constructors Constructor Description ApiException(ApiException.Type type)
ApiException(ApiException.Type type, java.lang.String detail)
ApiException(ApiException.Type type, java.lang.String detail, java.lang.Throwable cause)
ApiException(ApiException.Type type, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiException.Type
getType()
java.lang.String
toString()
java.lang.String
toString(boolean incDetails)
java.lang.String
toString(API.Format format, boolean incDetails)
-
-
-
Constructor Detail
-
ApiException
public ApiException(ApiException.Type type)
-
ApiException
public ApiException(ApiException.Type type, java.lang.Throwable cause)
-
ApiException
public ApiException(ApiException.Type type, java.lang.String detail)
-
ApiException
public ApiException(ApiException.Type type, java.lang.String detail, java.lang.Throwable cause)
-
-
Method Detail
-
getType
public ApiException.Type getType()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
-
toString
public java.lang.String toString(boolean incDetails)
-
toString
public java.lang.String toString(API.Format format, boolean incDetails)
-
-