Package com.naver.ads.video
Class VideoAdError
-
- All Implemented Interfaces:
-
java.io.Serializable
public class VideoAdError extends Exception
An error that occurred in the video ads. This exception will generally be passed to a listener rather that thrown.
-
-
Field Summary
Fields Modifier and Type Field Description private final VideoAdErrorTypeerrorTypeprivate final VideoAdErrorCodeerrorCode
-
Constructor Summary
Constructors Constructor Description VideoAdError(VideoAdErrorType errorType, VideoAdErrorCode errorCode, String message)Constructs a new VideoAdError with the specified errorType, errorCode, message. VideoAdError(VideoAdErrorType errorType, VideoAdErrorCode errorCode, Throwable cause)Constructs a new VideoAdError with the specified errorType, errorCode, cause. VideoAdError(VideoAdErrorType errorType, VideoAdErrorCode errorCode, String message, Throwable cause)Constructs a new VideoAdError with the specified errorType, errorCode, message and cause.
-
Method Summary
Modifier and Type Method Description final VideoAdErrorTypegetErrorType()the error's type. final VideoAdErrorCodegetErrorCode()the error's code. -
-
Constructor Detail
-
VideoAdError
VideoAdError(VideoAdErrorType errorType, VideoAdErrorCode errorCode, String message)
Constructs a new VideoAdError with the specified errorType, errorCode, message.
-
VideoAdError
VideoAdError(VideoAdErrorType errorType, VideoAdErrorCode errorCode, Throwable cause)
Constructs a new VideoAdError with the specified errorType, errorCode, cause.
-
VideoAdError
VideoAdError(VideoAdErrorType errorType, VideoAdErrorCode errorCode, String message, Throwable cause)
Constructs a new VideoAdError with the specified errorType, errorCode, message and cause.
-
-
Method Detail
-
getErrorType
final VideoAdErrorType getErrorType()
the error's type.
-
getErrorCode
final VideoAdErrorCode getErrorCode()
the error's code.
-
-
-
-