public CoreTokenException(int errorCode,Object[] params,int httpStatusCode){
  this.errorCode=errorCode;
  this.params=params;
  this.httpStatusCode=httpStatusCode;
  this.message=getLocalizedMessage(Locale.getDefault());
}

public CoreTokenException ( int errorCode , Object [ ] params , int httpStatusCode ) { this . errorCode = errorCode ; this . params = params ; this . httpStatusCode = httpStatusCode ; this . message = getLocalizedMessage ( Locale . getDefault ( ) ) ; }
creates a core token service exception .
