Domain Registration Control Panel

Home | Client Area | Order Reseller Hosting | Order Dedicated Server | Support
Phone : 866-929-HOST

 

Support Knowledge Base >> Reseller Guides >> Reseller API Guide

Search |

Server Error Format Description

Any error thrown from the Server for any call will be formatted in a special style as below

Example 1: com.logicboxes.error.AuthenticationException#~#com.logicboxes.foundation.sfnb.Authentication#~#Invalid Email/Password, or your User account maybe Inactive or Suspended#~#warn#~#

Example 2: com.logicboxes.error.ValidationException#~#com.logicboxes.foundation.sfnb.order.domcno.DomCnoValidation#~#{ns2=NameServer NS2.YOURDOMAINNAME.COM is not a valid Nameserver, ns1=NameServer NS1.YOURDOMAINNAME.COM is not a valid Nameserver}#~#warn#~#

The Error as you can see above has 4 distinct parts separated by #~#

1. The 1st part is the fully.qualified.ExceptionName - This is the name of the Exception that was thrown. Some typical examples as you can see above are com.logicboxes.error.AuthenticationException, com.logicboxes.error.ValidationException

2. The 2nd part is the fully.qualified.ClassThatThrewException - This is the Class on the server side in which the error occurred. For instance the above examples have com.logicboxes.foundation.sfnb.Authentication and com.logicboxes.foundation.sfnb.order.domcno.DomCnoValidation

3. The 3rd part is the Exception message - This part is the one which actually tells you what the error was. For instance, in the above two examples you can see the error messages are - Invalid Email/Password, or your User account maybe Inactive or Suspended and {ns2=NameServer NS2.YOURDOMAINNAME.COM is not a valid Nameserver, ns1=NameServer NS1.YOURDOMAINNAME.COM is not a valid Nameserver}. As you can see the message is quite self-explanatory as to what the error was.

4. The 4th part is the ExceptionLevel - This could be debug, info, warn, error or fatal. It signifies the criticality of the error that was received, in ascending Order.

Any error received from the server will always follow the above format. Understanding this format will allow you to easily isolate most errors as well as assist in reporting them to us.

 

Created on:  
Oct 29, 2003 4:12 PM  GMT
Last Updated on:   Aug 6, 2007 11:37 AM  GMT
 
Answer Read This FIRST - General API Integration Instructions 
Category Sample API Flow 
Category Java API Kit 
Category PHP API Kit 
Category .NET API Kit 
Category Perl API Kit 
Answer IMPORTANT: API Abuse 
Answer IMPORTANT: Modification of Result of Search calls made using the API 
Answer Server Error Format Description 
Answer Data Validation of Parameters passed in an API Method Call 
Answer Common API Examples and Errors 
Category Emulate and Debug your API Calls 
Answer Procedure To Retrieve XML Sent And Received