Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
MagickApiException.java
Package: verifidecoder_src.rar [view]
Upload User: qingzhou
Upload Date: 2013-04-21
Package Size: 733k
Code Size: 1k
Category:
Crack_Hack
Development Platform:
Java
- package magick;
- /**
- * Encapsulation of the ImageMagick ExceptionInfo structure as
- * well as the exception that is thrown when an ImageMagick
- * API failed.
- *
- * @author Eric Yeo
- */
- public class MagickApiException extends MagickException {
- /**
- * Takes a value in ExceptionType.
- */
- private int severity;
- /**
- * An reason for failure.
- */
- private String reason;
- /**
- * A description of the problem.
- */
- private String description;
- /**
- * Construct an API exception.
- *
- * @param mesg error message
- * @param severity one of the value in ExceptionType
- * @qualifier error qualifier
- */
- private MagickApiException(int severity,
- String reason,
- String description)
- {
- super(reason);
- this.severity = severity;
- this.reason = reason;
- this.description = description;
- }
- /*
- * Get the severity of the exception.
- *
- * @return severity of the Exception
- */
- public int getSeverity()
- {
- return severity;
- }
- /*
- * Get the reason of the exception.
- *
- * @return reason of the exception.
- */
- public String getReason()
- {
- return reason;
- }
- /**
- * Get the description of the exception.
- *
- * @return description of the exception.
- */
- public String getDescription()
- {
- return description;
- }
- }