Exemplo n.º 1
0
        public static JException Throw(string message, Exception innerException)
        {
            JException ex = new JException(message, innerException);

            throw ex;
        }
Exemplo n.º 2
0
        public static JException Throw(Exception innerException, string message, params string[] args)
        {
            JException ex = new JException(string.Format(message, args), innerException);

            throw ex;
        }
Exemplo n.º 3
0
        public static JException Throw(string message)
        {
            JException ex = new JException(message);

            throw ex;
        }
Exemplo n.º 4
0
 public static void Fail(string message)
 {
     JException.Throw(message);
 }
Exemplo n.º 5
0
 public static JException Throw(Exception innerException, string message, params string[] args)
 {
     JException ex = new JException(string.Format(message, args), innerException);
     throw ex;
 }
Exemplo n.º 6
0
 public static JException Throw(string message, Exception innerException)
 {
     JException ex = new JException(message, innerException);
     throw ex;
 }
Exemplo n.º 7
0
 public static JException Throw(string message)
 {
     JException ex = new JException(message);
     throw ex;
 }